package com.lxs.legou.order.api;

import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Auther: Mcb
 * @Date: 2022/2/4 17:38
 * @Description:
 */
@RequestMapping("/order")
public interface OrderApi {

    @ApiOperation(value = "订单支付",notes = "订单支付成功，改变状态")
    @PostMapping("/pay")
    void pay(@RequestParam("orderId") String orderId);
}
